
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>404 | {{ site.themeconfig.title }}</title>
  <style>
    html,
    body {
      height: 100%;
    }

    body {
      height: 100%;
      width: 100%;
      background-color: #111111;
      font-family: Courier, monospace;
      color: #ffffff;
      text-align: center;
      margin: 0;
      background-size: cover;
      background-position: center center;  
    }

    .background-overlay {
      width: 100%;
      height: 100%;

      position: fixed;
      z-index: 8;
      background: transparent;
      background: -webkit-linear-gradient(top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.50) 40%, rgba(0,0,0,0.50) 70%, rgba(0,0,0,0.80) 100%);
      background: linear-gradient(to bottom, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.50) 40%, rgba(0,0,0,0.50) 70%, rgba(0,0,0,0.80) 100%);
    }

    .content {
      position: relative;
      z-index: 10;
      height: 100%;
      width: 100%;
    }

    .header {
      position: absolute;
      top: 0;
      z-index: 12;
      width: 100%;
    }

    .header svg {
      margin-top: -13px;
      width: 32px;
    }

    h1 {
      font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
      font-size: 80px;
      margin: 0;
      font-weight: 800;
      line-height: 1;
      letter-spacing: 0.04em;
      text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

    a,
    a:hover,
    a:visited {
      color: #ffffff;
    }

    a {
      opacity: 0.6;
      -webkit-transition: all 0.3s ease-in-out;
      transition: all 0.3s ease-in-out;
    }
    a:hover,
    a:focus,
    a:active {
      opacity: 1;
    }

    .error-message {
    	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
      margin-top: 12px;
      margin-bottom: 36px;
    }

    .error-message__main {
      font-size: 18px;
      margin: 12px auto;
      line-height: 1.5em;
      text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

    .error-message__sub {
      font-size: 15px;
      margin: 12px auto;
      line-height: 1.5em;
      text-shadow: 0 1px 2px rgba(0,0,0,0.1);
      opacity: 0.8;
    }

    .table-wrapper {
      display: table;
      width: 100%;
      height: 100%;
    }

    .container {
      margin: auto;
      max-width: 520px;
    }

    .cell-wrapper {
      display: table-cell;
      vertical-align: middle;
    }

    .btn {
      font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
      display: inline-block;
      color: #ffffff;
      padding: 0 10px;
      line-height: 32px;
      font-size: 11px;
      font-weight: 600;
      border-radius: 6px;
      border: 1px solid #ffffff;
      text-transform: uppercase;
      text-decoration: none;
      letter-spacing: 0.06em;
      background-color: transparent;
    }

    .btn:hover {
      text-decoration: none;
      color: #ffffff;
      border-color: #ffffff;
    }
  </style>
</head>
<body>
  <div class="background-overlay"></div>
  <div class="header">
    <div class="container">
      <a href="{{ site.baseurl }}/" title="Back to Home">
        <svg width="104px" height="104px" viewBox="0 20 212 104" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
            <title>{{ site.themeconfig.title }}</title>
            <defs></defs>
            <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
                <g id="365-photos-later" sketch:type="MSLayerGroup" transform="translate(1.000000, 0.000000)" fill="#FFFFFF">
                    <path d="M49.000,154.000 L106.002,31.009 L162.000,154.000 L144.000,154.000 C144.000,154.000 123.943,103.000 106.000,103.000 C87.074,103.000 67.000,154.000 67.000,154.000 L49.000,154.000 Z" class="cls-1"/>
  <path d="M105.656,210.594 C47.390,210.594 0.156,163.360 0.156,105.094 C0.156,46.828 47.390,-0.406 105.656,-0.406 C163.922,-0.406 211.156,46.828 211.156,105.094 C211.156,163.360 163.922,210.594 105.656,210.594 ZM106.000,18.000 C57.951,18.000 19.000,56.951 19.000,105.000 C19.000,153.049 57.951,192.000 106.000,192.000 C154.049,192.000 193.000,153.049 193.000,105.000 C193.000,56.951 154.049,18.000 106.000,18.000 Z" class="cls-2"/>
                </g>
            </g>
        </svg>
      </a>
    </div> <!-- close .container -->
  </div> <!-- close .header -->

  <div class="content">
    <div class="table-wrapper">
      <div class="cell-wrapper">  

        <div class="container">

          <h1>404</h1>

          <div class="error-message">
            <p class="error-message__main">Oops! 没找到你想要的页面。</p>
            <p class="error-message__sub">如果你认为是网站出错了，<a href="mailto:{{ site.email_address }}">请联系我</a>。</p>
            <p class="error-message__main">Oops! Page not found.</p>
            <p class="error-message__sub">if you think it's a mistake on our end, <a href="mailto:{{ site.email_address }}">let me know what happened</a>.</p>
          </div> <!-- close .error-message -->
        </div> <!-- close .container -->

        <a href="{{ site.baseurl }}/" class="btn">
          Go Back
        </a>
      </div> <!-- close .cell-wrapper -->
    </div> <!-- close .table-wrapper -->
  </div> <!-- close .content -->

  <script>
    (function (window, undefined) {

      var c,
        cache,
        state,
        view,
        dispatch,
        defaults;

      c = cache = {};
      state = {};
      view = {};
      dispatch = {};
      defaults = {
        gifs: {
          fail: [
            'https://images.unsplash.com/gifs/fail/fail-1.gif',
            'https://images.unsplash.com/gifs/fail/fail-2.gif',
            'https://images.unsplash.com/gifs/fail/fail-3.gif',
            'https://images.unsplash.com/gifs/fail/fail-5.gif',
            'https://images.unsplash.com/gifs/fail/fail-6.gif',
            'https://images.unsplash.com/gifs/fail/fail-7.gif',
            'https://images.unsplash.com/gifs/fail/fail-8.gif',
            'https://images.unsplash.com/gifs/fail/fail-9.gif',
            'https://images.unsplash.com/gifs/fail/fail-11.gif',
            'https://images.unsplash.com/gifs/fail/fail-12.gif',
            'https://images.unsplash.com/gifs/fail/fail-13.gif',
            'https://images.unsplash.com/gifs/fail/fail-14.gif',
            'https://images.unsplash.com/gifs/fail/fail-15.gif',
            'https://images.unsplash.com/gifs/fail/fail-16.gif',
            'https://images.unsplash.com/gifs/fail/fail-17.gif',
            'https://images.unsplash.com/gifs/fail/fail-18.gif',
            'https://images.unsplash.com/gifs/fail/fail-20.gif',
            'https://images.unsplash.com/gifs/fail/fail-21.gif',
            'https://images.unsplash.com/gifs/fail/fail-22.gif',
          ],
          weird: [
            'https://images.unsplash.com/gifs/weird/weird-1.gif',
            'https://images.unsplash.com/gifs/weird/weird-3.gif',
            'https://images.unsplash.com/gifs/weird/weird-4.gif',
            'https://images.unsplash.com/gifs/weird/weird-6.gif',
            'https://images.unsplash.com/gifs/weird/weird-8.gif',
            'https://images.unsplash.com/gifs/weird/weird-9.gif',
            'https://images.unsplash.com/gifs/weird/weird-10.gif',
            'https://images.unsplash.com/gifs/weird/weird-11.gif',
            'https://images.unsplash.com/gifs/weird/weird-12.gif',
            'https://images.unsplash.com/gifs/weird/weird-13.gif',
            'https://images.unsplash.com/gifs/weird/weird-14.gif',
            'https://images.unsplash.com/gifs/weird/weird-15.gif',
            'https://images.unsplash.com/gifs/weird/weird-16.gif',
          ]
        }
      };

      cache.init = function () {
        this.body = document.body;
      };

      state.init = function () {
        this.gifs = defaults.gifs.fail;
      };

      state.getRandomGif = function () {
        return this.gifs[Math.floor(Math.random() * this.gifs.length)];
      };

      view.init = function () {
        c.body.style.backgroundImage = 'url(' + state.getRandomGif() + ')';
      };

      cache.init();
      state.init();
      view.init();

    })(window);
  </script>

  <script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-36049670-4', 'auto');
    ga('send', 'pageview');
    ga('send', 'event', 'action', '404');
  </script>

</body>
</html>
